public class Monster extends Actor {
	protected int vx;

	public Monster(Stage stage) {
		super(stage);
		setSpriteName("zyra.gif");
	}

	public void act() {
		x += vx;
		if (x < 0 || x > Stage.SZEROKOSC - this.width)
			vx = -vx;
	}

	public int getVx() {
		return vx;
	}

	public void setVx(int i) {
		vx = i;
	}
}